[NTG-context] enhancing documentation: initials

2024-03-05 Thread Henning Hraban Ramm
Kunst hat mehr Berechtigung, ihren Blick auf die zukünftigen Jahrhunderte zu richten als die Typographie.}\wordright{Giambattista Bodoni} \stop \start \setupinitial[method=last] \placeinitial \quotation{Nationalökonomie ist, wenn die Leute sich wundern, warum sie kein Geld haben.}\wordr

[NTG-context] Re: Square right aligned

2024-02-09 Thread Wolfgang Schuster
Pablo Rodriguez via ntg-context schrieb am 09.02.2024 um 20:07: On 2/8/24 22:37, Otared Kavian wrote: Hi Ursula, I think you mean the so-called end of the proof sign, or QED (Quod Erat Demonstrandum). You can use this: \definesymbol[QED][\mathematics{\square}] \def\qed{\wordright{\symbol[QED

[NTG-context] Re: Square right aligned

2024-02-09 Thread Pablo Rodriguez via ntg-context
On 2/8/24 22:37, Otared Kavian wrote: > Hi Ursula, > > I think you mean the so-called end of the proof sign, or QED (Quod Erat > Demonstrandum). You can use this: > > \definesymbol[QED][\mathematics{\square}] > \def\qed{\wordright{\symbol[QED]}} > \starttext > This is

[NTG-context] Re: Square right aligned

2024-02-09 Thread Ursula Hermann
Aus-\par sage h(m, f) sei ”m ist verliebt in f“. Unter diesen Voraussetzungen machen \par Sie sich die Bedeutung der beiden Aussagen klar.}\wordright{\square} \stopalignment \stoptext Many thanks Uschi Von: Ursula Hermann Gesendet: Freitag, 9. Februar 2024 08:39

[NTG-context] Re: Square right aligned

2024-02-08 Thread Ursula Hermann
Dear Hraban, Dear Otared! Many Thanks, Hraban: Because of \wordright: I took a look at wordright at the wiki, works perfect. Otared, many thanks too. It also works perfect with your example Uschi Von: Otared Kavian Gesendet: Donnerstag, 8. Februar

[NTG-context] Re: Square right aligned

2024-02-08 Thread Otared Kavian
Hi Ursula, I think you mean the so-called end of the proof sign, or QED (Quod Erat Demonstrandum). You can use this: \definesymbol[QED][\mathematics{\square}] \def\qed{\wordright{\symbol[QED]}} \starttext This is the end of our proof. \qed \stoptext In principle it is included in ConTeXt

[NTG-context] Re: Square right aligned

2024-02-08 Thread Henning Hraban Ramm
an error message in the log that tells you about missing characters in your selected font. I’d suggest \wordright{} instead of your alignment construction. Hraban ___ If your question is of interest to others

Re: [NTG-context] [Solved] Line breaks, \wordright and hyphenation

2021-10-26 Thread kauśika cittūr via ntg-context
On Monday, October 25, 2021 7:34:06 AM IST kauśika cittūr wrote: > On Sunday, October 24, 2021 7:42:59 AM IST kauśika cittūr wrote: > > Dear list, > > > > In short, my question is: why does \wordright cause a line-break when the > > line preceding it breaks with hyphena

Re: [NTG-context] Line breaks, \wordright and hyphenation

2021-10-24 Thread kauśika cittūr via ntg-context
On Sunday, October 24, 2021 7:42:59 AM IST kauśika cittūr wrote: > Dear list, > > In short, my question is: why does \wordright cause a line-break when the > line preceding it breaks with hyphenation and does not otherwise? How to > avoid it (if at all possible)? > > I ha

Re: [NTG-context] Line breaks, \wordright and hyphenation

2021-10-24 Thread kauśika cittūr via ntg-context
On Sunday, October 24, 2021 5:31:32 PM IST Hans Hagen wrote: > On 10/24/2021 1:08 PM, Benjamin Buchmuller via ntg-context wrote: > > Maybe > > > > \hfill author > > It's anyway nicer to use > > % \definenarrower > % [amnata] > % [left=\measure{amnatamargin}, > %

Re: [NTG-context] Line breaks, \wordright and hyphenation

2021-10-24 Thread Hans Hagen via ntg-context
{amnatamargin}] but then them, the fact that we get something hyphenated interferes .. tricky On 24. Oct 2021, at 04:12, kauśika cittūr wrote: Dear list, In short, my question is: why does \wordright cause a line-break when the line preceding it breaks with hyphenation and does not otherwise? How

Re: [NTG-context] Line breaks, \wordright and hyphenation

2021-10-24 Thread Benjamin Buchmuller via ntg-context
Maybe \hfill author ? > On 24. Oct 2021, at 04:12, kauśika cittūr wrote: > > Dear list, > > In short, my question is: why does \wordright cause a line-break when the > line > preceding it breaks with hyphenation and does not otherwise? How to avoid it > (if at al

Re: [NTG-context] Line breaks, \wordright and hyphenation

2021-10-24 Thread kauśika cittūr via ntg-context
On Sunday, October 24, 2021 7:42:59 AM IST kauśika cittūr wrote: > Dear list, > > In short, my question is: why does \wordright cause a line-break when the > line preceding it breaks with hyphenation and does not otherwise? How to > avoid it (if at all possible)? > > I ha

[NTG-context] Line breaks, \wordright and hyphenation

2021-10-23 Thread kauśika cittūr via ntg-context
Dear list, In short, my question is: why does \wordright cause a line-break when the line preceding it breaks with hyphenation and does not otherwise? How to avoid it (if at all possible)? I have this delimitedtext instance called 'amnata' defined as below: \definemeasure[amnatamargin][3cm

Re: [NTG-context] Change to wordright behavior?

2021-04-21 Thread Rik Kabel
On 4/18/2021 22:12, Rik Kabel wrote: Dear all, At some time in the last couple of years the behavior of \wordright seems to have changed, at least in the following situation. With the following example: \starttext \hsize3cm   Aaa\wordright{Aaa}\par   \sc{Bbb\wordright{Bbb

[NTG-context] Change to wordright behavior?

2021-04-18 Thread Rik Kabel
Dear all, At some time in the last couple of years the behavior of \wordright seems to have changed, at least in the following situation. With the following example: \starttext \hsize3cm   Aaa\wordright{Aaa}\par   \sc{Bbb\wordright{Bbb}}\par   {\sc Ccc\wordright{Ccc}}\par

Re: [NTG-context] strange behavior with \groupedcommand in recent versions of LMTX

2020-09-02 Thread Hans Hagen
On 9/2/2020 11:10 AM, mf wrote: Thanks Hans, this solves the problem I had with the new implementation of \wordright. It's not exactly a problem of \wordright, but the combination with \groupedcommand. that is always tricky as what happens is postponing till the group ends but wordright now

Re: [NTG-context] strange behavior with \groupedcommand in recent versions of LMTX

2020-09-02 Thread mf
Thanks Hans, this solves the problem I had with the new implementation of \wordright. It's not exactly a problem of \wordright, but the combination with \groupedcommand. Is \nextbox a new entry of latest versions? I've seen also \nextboxwd, \nextboxht, etc. So you can measure the next box

Re: [NTG-context] strange behavior with \groupedcommand in recent versions of LMTX

2020-09-01 Thread Hans Hagen
On 9/1/2020 5:47 PM, mf wrote: \unexpanded\def\groupedwordorparagraphright{\dosingleempty\dogroupedwordorparagraphright} \def\dogroupedwordorparagraphright[#1]{\groupedcommand{\setbox\scratchbox\hbox\bgroup} {\egroup\ifdim\wd\scratchbox < \hsize     \wordright{\unhbox\scratchbox}   \e

[NTG-context] strange behavior with \groupedcommand in recent versions of LMTX

2020-09-01 Thread mf
Hello list, this is a MWE that worked right in MkIV and in LMTX versions (at least) until April 22nd, 2020. There's a macro, \wordorparagraphright, that takes one argument, makes a hbox with it and measures its width - if its width is less than \hsize, then it calls \wordright - if its

[NTG-context] Defining \qed (was: Bug with \wordright...)

2020-08-08 Thread Otared Kavian
\definesymbol[Fin][\mathematics{\square}] \def\qed{% \ifmmode \inrightmargin{\hskip-7.5mm\symbol[Fin]} % --> attention here \else \dontleavehmode\wordright{\symbol[Fin]} \fi} \setupformulas[location=left] \starttext One s

Re: [NTG-context] Bug with \wordright in LMTX version 2020-08-03 14:25

2020-08-05 Thread Wolfgang Schuster
Fabrice Couvreur schrieb am 05.08.2020 um 19:33: Hello, I also use a square to complete a demonstration. I tried this without success Thank you Fabrice \definesymbol[Fin][\mathematics{\square}] \def\qed{\strut\wordright{\symbol[Fin]}} \defineenumeration   [proof]   [...,    closesymbol

Re: [NTG-context] Bug with \wordright in LMTX version 2020-08-03 14:25

2020-08-05 Thread Fabrice Couvreur
Hello, I also use a square to complete a demonstration. I tried this without success Thank you Fabrice \definesymbol[Fin][\mathematics{\square}] \def\qed{\strut\wordright{\symbol[Fin]}} \defineenumeration [proof] [text=Démonstration, alternative=serried, distance=\zeropoint, number

Re: [NTG-context] Bug with \wordright in LMTX version 2020-08-03 14:25

2020-08-04 Thread Otared Kavian
-qed.tex \definesymbol[Fin][\mathematics{\square}] \def\qed{\ifmmode\quad\symbol[Fin]\else\strut\wordright{\symbol[Fin]}\fi} \starttext \startformula a^2 + b^2 = c^2. \stopformula \startformula a^2 + b^2 = c^2. \qed \stopformula One sees that\type{\qed} in the formula changes the alignment

Re: [NTG-context] Bug with \wordright in LMTX version 2020-08-03 14:25

2020-08-04 Thread Hans Hagen
seems to be \wordright, but although the following minimal example shows a bug it does not produce the same ERROR output page: the square ''end of proof'' \definesymbol[Fin][\mathematics{\square}] \def\qed{\wordright{\symbol[Fin]}} \starttext \startformula a^2 + b^2 = c^2 \stopformula \qed

[NTG-context] Bug with \wordright in LMTX version 2020-08-03 14:25

2020-08-03 Thread Otared Kavian
Hi Hans, A file which used to be typeset correctly with the previous versions of lmtx, now produces an error. Despite the error message being extremely cryptic: Error ! Missing number, treated as zero I could guess the origin of the bug, which seems to be \wordright, but although

Re: [NTG-context] Keep photographer in one line in a caption

2020-01-11 Thread Henning Hraban Ramm
caption, it should >> move to the next line. ATM I’m clueless... >> >> That’s not enough (also not a MWE): >> >> \define[1]\Foto{\hfill\hbox{\tfx Foto: #1}} > > Doesn't \wordright do what you want? I a

Re: [NTG-context] Keep photographer in one line in a caption

2020-01-11 Thread Rik Kabel
not a MWE): \define[1]\Foto{\hfill\hbox{\tfx Foto: #1}} Best, Hraban Doesn't \wordright do what you want? -- Rik ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg

Re: [NTG-context] poem as a sidefloat

2019-09-25 Thread Wolfgang Schuster
]   \startframedtext [frame=off,width=fit,offset=0.25ex]     \startlines [style=mono]     lichtung     manche meinen     lechts und rinks     kann man nicht     velwechsern.     werch ein illtum!     \wordright{ernst jandl}     \stoplines   \stopframedtext \stopplacefloat \dorecurse{2}{\samplefile

Re: [NTG-context] poem as a sidefloat

2019-09-25 Thread Henning Hraban Ramm
ramedtext[ frame=off, width=fit, style=\tt, %background=color,backgroundcolor=yellow, ]{% \startlines% lichtung manche meinen lechts und rinks kann man nicht velwechsern. werch ein illtum! \wordright{ernst jandl} \stoplines } \stopplacefloat \dorecurse{2}{\input knuth} \stoptext

[NTG-context] poem as a sidefloat

2019-09-25 Thread Henning Hraban Ramm
style=\tt, % background=color,backgroundcolor=yellow, %]{\vbox{% \startlines lichtung manche meinen lechts und rinks kann man nicht velwechsern. werch ein illtum! \wordright{ernst jandl} \stoplines %}} \stopplacefloat \dorecurse{2}{\input knuth} \stoptext Greetlings, Hraban --- https://www.fie

Re: [NTG-context] closesymbol on same line as displayed formula

2018-08-28 Thread Jeong Dal
roof][text=Proof.] \setupenumeration[proof] [number=no, closesymbol=\mathematics{\square}, closecommand=\ifmmode\eqno\else\wordright\fi] \starttext \startproof This is a simple proof. \startformula 1+1=2. \stopformula \placeclosesymbol \stopproof \startproof This is anoth

Re: [NTG-context] closesymbol on same line as displayed formula

2018-08-27 Thread Aditya Mahajan
On Mon, 27 Aug 2018, Jeong Dal wrote: Hi, The same thing happens after the itemization as in the following MWE. \defineenumeration[proof][text=Proof.] \setupenumeration[proof] [number=no, closesymbol=\mathematics{\square}, closecommand=\ifmmode\eqno\else\wordright\fi

Re: [NTG-context] closesymbol on same line as displayed formula

2018-08-26 Thread Jeong Dal
MWE. Thank you for reading. Best regards, Dalyoung \defineenumeration[proof][text=Proof.] \setupenumeration[proof] [number=no, closesymbol=\mathematics{\square}, closecommand=\ifmmode\eqno\else\wordright\fi] \starttext \startproof This is a simple proof. \stopproof

Re: [NTG-context] registers: how can I place a command around the whole of the page numbers of an index term?

2018-05-10 Thread MF
ligned one. > > So i wrote this: > > --- > \def\wordorparagraphright#1{\let\scratchWidth\relax > \setbox\scratchbox=\hbox{#1}\newdimen\scratchWidth > \scratchWidth=\wd\scratchbox > \ifdim\scratchWidth < 0.9\textwidth > \wordright{#1}% > \else >

Re: [NTG-context] registers: how can I place a command around the whole of the page numbers of an index term?

2018-05-10 Thread MF
\wordright is ok until the numbers don't exceed the text width. It manages these two cases right: Index term, and some text 21, 34, 45, 72 Index term, and some text 21, 34, 45, 72, 89 When the numbers exceed the text width, it fails: Index term, and some text 21, 34, 45, 72, 89, 101, 103

Re: [NTG-context] registers: how can I place a command around the whole of the page numbers of an index term?

2018-05-10 Thread Hans Hagen
} \page \LATEX\index{\LaTeX} \page \CONTEXT\index{\ConTeXt} \page \setupregisterpagescommand{\wordright} \placeindex \page \resetregisterpagescommand \placeindex \stoptext btw, Hans, are you going to add an option to \setupregister? :) knowing that wolfgang looked into it i just wait till he cooks up

Re: [NTG-context] registers: how can I place a command around the whole of the page numbers of an index term?

2018-05-10 Thread Wolfgang Schuster
\registerparameter\c!pageleft} \unexpanded\def\stopregisterpages {\registerparameter\c!pageright \dostoptagged \endgroup} \protect \setupregister [index] [n=1, alternative=A, distance=0pt, pageleft=\wordright\bgroup, pageright=\egroup] \starttext \CONTEXT\index{\ConTeXt

Re: [NTG-context] registers: how can I place a command around the whole of the page numbers of an index term?

2018-05-10 Thread MF
\CONTEXT\index{\ConTeXt} \page \setupregisterpagescommand{\wordright} \placeindex \page \resetregisterpagescommand \placeindex \stoptext btw, Hans, are you going to add an option to \setupregister? :) ___ If your question

Re: [NTG-context] registers: how can I place a command around the whole of the page numbers of an index term?

2018-05-10 Thread MF
\useregisterstyleandcolor\c!pagestyle\c!pagecolor} \unexpanded\def\stopregisterpages {\dostoptagged \endgroup} And this seems to work: \let\origstartregisterpages=\startregisterpages% \let\origstopregisterpages=\stopregisterpages% \unexpanded\def\startregisterpages{\origstartregisterpages\wordright\bg

Re: [NTG-context] registers: how can I place a command around the whole of the page numbers of an index term?

2018-05-09 Thread Wolfgang Schuster
. \setupregister [index] [n=1, alternative=A, textcommand=\groupedcommand{}{\hfill\quad}] Wolfgang MF <mailto:mass...@fastwebnet.it> 9. Mai 2018 um 17:09 Hello list, i'd like moving the page numbers in my index to the right, with a \wordright. \setupregister[index][n=1,alter

[NTG-context] registers: how can I place a command around the whole of the page numbers of an index term?

2018-05-09 Thread MF
Hello list, i'd like moving the page numbers in my index to the right, with a \wordright. \setupregister[index][n=1,alternative=A] \starttext \CONTEXT\index{\ConTeXt} \page \LATEX\index{\LaTeX} \page \CONTEXT\index{\ConTeXt} \page \placeindex \stoptext The index is at page 4. I want to move

Re: [NTG-context] Problems with headers using margintext alternative

2017-07-29 Thread Willi Egger
ioning. >> \stopparagraph >> \startparagraph >> It makes no difference in any test how the paragraphs are >> delimited—blank lines, \tex{bpar}/\tex{epar}, >> \tex{startparagraph}/\tex{stopparagraph}, or \tex{par}. >> \stopparagraph >> \start

Re: [NTG-context] Problems with headers using margintext alternative

2017-07-29 Thread Rik
\egroup \page \startchapter [title={Start/stop sectioning}] \startsection[title={Mis\-cel\-la\-neous quo\-ta\-tions}] \startparagraph \input jojomayer \stopparagraph \startparagraph \input carrol \wordright{No indent no whitespace

[NTG-context] Problems with headers using margintext alternative

2017-07-23 Thread Rik Kabel
\startparagraph \input carrol \wordright{No indent no whitespace.} \stopparagraph \stopsection \bgroup \setupwhitespace[medium] \startsection[title={Miscellaneous quotations}] \startparagraph \input jojomayer \stopparagraph

Re: [NTG-context] \definedescription and setupdescription options

2016-03-04 Thread Wolfgang Schuster
ommand \definedescription[testdescription][title=yes,closecommand=\wordright,closesymbol={\symbol[square]}] \starttext \starttestdescription{Knuth} \input knuth \stoptestdescription \stoptext titleleft titleright titledistance titlestyle titlecolor The title* keys can only be used with enumer

Re: [NTG-context] Absolute position in table cell

2016-02-17 Thread Volker Mische
: >>> >>> \define\startpn >>>{\grabuntil{stoppn}{\setgvariable{table}{p}}} >> >> >> Thanks for you help. Sadly I can't get it working, even if I hard-code >> the value of \setgvariable as e.g. \setgvariable{table}{p}{q}. >> >> I st

Re: [NTG-context] Absolute position in table cell

2016-02-16 Thread Hans Hagen
e cell that gets defined in the normal flow (just like another paragraph within the cell). Any pointers are welcome, I'm happy to dig deeper myself. test \wordright{p} - Hans Hagen | PRAG

Re: [NTG-context] flushing the last hbox of a paragraph to the right

2015-11-16 Thread Rik Kabel
hat > right alignment in both cases? > Thanks, > Massi Have you looked at \wordright <http://wiki.contextgarden.net/Command/wordright>? -- Rik ___ If your question is of interest to others as

Re: [NTG-context] flushing the last hbox of a paragraph to the right

2015-11-16 Thread mf
Thank you Rik, \wordright is exactly what I was looking for. Best regards, Massi Il giorno lun, 16/11/2015 alle 09.34 -0500, Rik Kabel ha scritto: > On 2015-11-16 07:40, mass...@fastwebnet.it wrote: > > Sorry, there was a typo in my previous email. > > The last example s

Re: [NTG-context] position of qed symbol in proofs

2014-11-10 Thread Hans Hagen
] [number=no, closesymbol=\mathematics{\square}, closecommand=\ifmmode\eqno\else\wordright\fi] the \ifmmode is not honoured, and the change must have happened quite earlier than a few weeks. Maybe we should open a new thread as a bug in closecommand? it probably has to do

Re: [NTG-context] position of qed symbol in proofs

2014-11-10 Thread Otared Kavian
Hi Hans, Thanks for your attention. However the following doesn’t result in what is expected: %% begin proof-qed.tex \defineenumeration [proof] [number=no, closesymbol=\mathematics{\square}, closecommand=\mathortext\eqno\wordright] \starttext \startproof This is a simple proof

Re: [NTG-context] position of qed symbol in proofs

2014-11-10 Thread Hans Hagen
On 11/10/2014 10:31 AM, Otared Kavian wrote: Hi Hans, Thanks for your attention. However the following doesn’t result in what is expected: %% begin proof-qed.tex \defineenumeration [proof] [number=no, closesymbol=\mathematics{\square}, closecommand=\mathortext\eqno\wordright

Re: [NTG-context] position of qed symbol in proofs

2014-11-09 Thread Mikael P. Sundqvist
=no, closesymbol=\mathematics{\square}, closecommand=\ifmmode\eqno\else\wordright\fi] \starttext \startproof This is a simple proof. \stopproof \startproof This is another simple proof that ends with a formula \startformula 1+1=2. \stopformula \stopproof \stoptext I don’t know when

Re: [NTG-context] position of qed symbol in proofs

2014-11-09 Thread Otared Kavian
=\mathematics{\square}, closecommand=\ifmmode\eqno\else\wordright\fi] the \ifmmode is not honoured, and the change must have happened quite earlier than a few weeks. Maybe we should open a new thread as a bug in closecommand? Best regards: OK On 09 Nov 2014, at 21:29, Mikael P. Sundqvist mic

Re: [NTG-context] position of qed symbol in proofs

2014-11-08 Thread Mikael P. Sundqvist
On Mon, Nov 3, 2014 at 9:15 PM, Mikael P. Sundqvist mic...@gmail.com wrote: Hi, I once used \defineenumeration[proof][ text=Proof, closesymbol=\mathematics{\square}, closecommand=\ifmmode\eqno\else\wordright\fi, ] \starttext \startproof This is a simple proof. \stopproof

Re: [NTG-context] position of qed symbol in proofs

2014-11-08 Thread Otared Kavian
\wordright\fi] \starttext \startproof This is a simple proof. \stopproof \startproof This is another simple proof that ends with a formula \startformula 1+1=2. \stopformula \stopproof \stoptext I don’t know when the change occurred, but at least it worked last year (which for ConTeXt means

[NTG-context] position of qed symbol in proofs

2014-11-03 Thread Mikael P. Sundqvist
Hi, I once used \defineenumeration[proof][ text=Proof, closesymbol=\mathematics{\square}, closecommand=\ifmmode\eqno\else\wordright\fi, ] \starttext \startproof This is a simple proof. \stopproof \startproof This is another simple proof that ends with a formula \startformula 1+1=2

Re: [NTG-context] Testpage with extras

2014-02-01 Thread Keith J. Schultz
setuppagechecker sothat \definepagechecker[whatever] \setuppagechecker[whatever] [lines=35, voffset=10pt, before={\vfill\wordright{(see next page)}\par}, after=\noindentation] and also \checkpage [lines=35, voffset=10pt, before={\vfill\wordright{(see next page)}\par}, after

Re: [NTG-context] Testpage with extras

2014-01-31 Thread Keith J. Schultz
as an added layer on top of testpage! At least the test is if X lines left on page or still fit on page! I also have a question. Are the commands setuppagechecker sothat \definepagechecker[whatever] \setuppagechecker[whatever] [lines=35, voffset=10pt, before={\vfill\wordright{(see next page)}\par

Re: [NTG-context] Testpage with extras

2014-01-31 Thread Hans Hagen
[whatever] \setuppagechecker[whatever] [lines=35, voffset=10pt, before={\vfill\wordright{(see next page)}\par}, after=\noindentation] and also \checkpage [lines=35, voffset=10pt, before={\vfill\wordright{(see next page)}\par}, after=\noindentation] in that case you use those values

Re: [NTG-context] Testpage with extras

2014-01-30 Thread Hans Hagen
, voffset=10pt, before={\vfill\wordright{(see next page)}\par}, after=\noindentation] \setupindenting[yes,9pt,first] \starttext \noindentation \input knuth\par \input knuth\par \noindentation \input knuth\par \checkpage[whatever] \input knuth\par \input knuth

[NTG-context] No indentation after macro

2013-07-24 Thread H. Özoguz
I have defined the following macro: \def\Qur[#1][#2][#3][#4]{\placeongrid{\blank[4pt]\testpage[4] \setupindenting[no] \startalignment[right]\setupalign[r2l]\setupinterlinespace[line=3.7ex]\amiri #1 \stopalignment \blank[4pt] {\bf #2} \wordright{\tfx (Heiliger Qur'an #3:#4)} \blank[3pt

Re: [NTG-context] No indentation after macro

2013-07-24 Thread Wolfgang Schuster
] {\bf #2} \wordright{\tfx (Heiliger Qur'an #3:#4)} \blank[3pt]} } How can I setup, that paragraphs after this above block will not be indented? You can add \noindentation at the end of your code. You can also use the annotation environment to create a new command for your text where

[NTG-context] Update value of \headerheight based on header content

2013-05-07 Thread Adam Khan
The code for my headers is of the form: \setupheadertexts[{\inframed[frame=off,width=\textwidth,location=depth,align={right,broad,nothyphenated},tolerance=verytolerant]{Author\\Title\\\tab{\getmarking[chapternumber]} \getmarking[chapter] \wordright{\pagenumber}}}] As you might imagine, the name

[NTG-context] Epigraphs (was About Chapter head definition and FunnyFrame)

2013-03-03 Thread Wolfgang Schuster
\wordright{Ward} \stopepigraph \stoptext Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context

[NTG-context] Indented footnotes in ConTeXt

2012-11-20 Thread Adam Khan
{\ss} \def\paratext{\tt} \def\quotationheader#1#2{{\noindenting\paratext#1]\wordright{[#2}}} \def\siglum#1{{\bf#1}} \def\someoneelse#1{{\it#1}} \stopenvironment ___ If your question is of interest to others as well

Re: [NTG-context] Annotation Module

2012-11-18 Thread Wolfgang Schuster
\startsetups [annotation:four] \startframedtext[width=broad,framecolor=red] \placeannotationcontent \doifsomething{\annotationparameter{author}}{\wordright{\annotationparameter{author}}} \stopframedtext \stopsetups \defineannotationalternative[four][renderingsetup=annotation:four

Re: [NTG-context] Index setup

2012-04-14 Thread Wolfgang Schuster
formulated? \setupregister[index][indicator=no,pagecommand=\wordright,before=] Setup commands are put before \starttext, when you really need these settings for a certain register placement you can write \placeindex[..,.=.,..] Wolfgang

Re: [NTG-context] Index setup

2012-04-14 Thread Jeff Smith
On Sat, Apr 14, 2012 at 08:26, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: \setupregister[index][indicator=no,pagecommand=\wordright,before=] Setup commands are put before \starttext, when you really need these settings for a certain register placement you can write \placeindex

Re: [NTG-context] TOC : Chapter title under its number (separate lines)

2011-05-26 Thread Alan Braslau
\wordright{#3}} % \define[3]\ChapterList % fixed label, wrong for appendices! % {\labeltext{chapter}#1\crlf#2\wordright{#3}} \define[3]\ChapterList {\currentlistsymbol\crlf#2\wordright{#3}} \setuplist[chapter][label=yes,alternative=command,command=\ChapterList] \starttext

Re: [NTG-context] TOC : Chapter title under its number (separate lines)

2011-05-24 Thread Wolfgang Schuster
but the labeltext is tricky: \setuplabeltext[chapter=CHAPTER~] % \define[3]\ChapterList % no label! % {#1\crlf#2\wordright{#3}} % \define[3]\ChapterList % fixed label, wrong for appendices! % {\labeltext{chapter}#1\crlf#2\wordright{#3}} \define[3]\ChapterList {\currentlistsymbol\crlf#2\wordright{#3

Re: [NTG-context] TOC : Chapter title under its number (separate lines)

2011-05-24 Thread Mathieu DUPONT
#2\wordright{#3}} % \define[3]\ChapterList % fixed label, wrong for appendices!% {\labeltext{chapter}#1\crlf#2\wordright{#3}} \define[3]\ChapterList {\currentlistsymbol\crlf#2\wordright{#3}} \setuplist[chapter][label=yes,alternative=command,command=\ChapterList] \starttext \startfrontmatter

Re: [NTG-context] TOC : Chapter title under its number (separate lines)

2011-05-24 Thread Mathieu DUPONT
={\blank[0cm]}”is the wrong way. Such a layout can be easily done with your own list-commandfor chapter but the labeltext is tricky: \setuplabeltext[chapter=CHAPTER~] % \define[3]\ChapterList % no label!% {#1\crlf#2\wordright{#3}} % \define[3]\ChapterList % fixed label, wrong for appendices

Re: [NTG-context] \definelistplacement + margin

2011-02-27 Thread Wolfgang Schuster
? Use the “command” alternative. \define[3]\ChapterList {\inframed[width=broad]{#1\emspace#2\hfill#3}} % {\inframed[width=broad]{#1\hspace[big]#2\wordright{#3}}} \setuplist[chapter][alternative=command,command=\ChapterList] Wolfgang

Re: [NTG-context] \definelistplacement + margin

2011-02-27 Thread Andreas Harder
[section][margin=3em] and I can't get rid of it … Any hint? Use the “command” alternative. \define[3]\ChapterList {\inframed[width=broad]{#1\emspace#2\hfill#3}} % {\inframed[width=broad]{#1\hspace[big]#2\wordright{#3}}} \setuplist[chapter][alternative=command,command=\ChapterList] Hi

[NTG-context] Request for delimited texts

2011-01-22 Thread Andreas Harder
Hi all, is it possible to extend the delimited texts implementation in such a way that the environment would accept optional arguments. What I have in mind is something like this: \setupdelimitedtext [quotation] [% author=Default Author, right=”\wordright{\delimitedtextparameter{author

Re: [NTG-context] Request for delimited texts

2011-01-22 Thread Wolfgang Schuster
Author, right=”\wordright{\delimitedtextparameter{author}}] \starttext \showframe \startquotation% [author=Some Author] \dorecurse{50}{text } \stopquotation \startquotation% [author=Another Author] \dorecurse{50}{text } \stopquotation \stoptext \usemodule[annotation

Re: [NTG-context] \qedhere equivalent in ConTeXt

2011-01-21 Thread Stefan Müller
\eqno\else\wordright\fi] Wolfgang I hope I can get help on an issue I have with this. Please consider the minimal example: \starttext \definedescription[proof][text=Proof., width=fit, location=serried, indenting=yes, closesymbol=\mathematics{\square}, closecommand=\ifmmode\eqno\else

Re: [NTG-context] BUG? Strange behavior (vertical space added!!!) with accentuated letters (was \inmargin / full textwidth line interaction)

2010-11-27 Thread Otared Kavian
\structureuservariable{date}}}% {\bfa\structuretitle}\wordright{\tfx\structureuservariable{topic}} % \blank {\em\structureuservariable{info}}% \egroup} \starttext \startsection[title={A Section}] \startsubsection [title={The detailled topic (which takes more than one

Re: [NTG-context] \inmargin / full textwidth line interaction (was Toward the use of inleft…)

2010-11-26 Thread Wolfgang Schuster
{\leftaligned{\em\structureuservariable{date}}}% {\bfa\structuretitle}\wordright{\tfx\structureuservariable{topic}} \blank {\em\structureuservariable{info}}% \egroup} \starttext \startsection[title={A Section}] \startsubsection [title={The detailled topic (which takes more

[NTG-context] BUG? Strange behavior (vertical space added!!!) with accentuated letters (was \inmargin / full textwidth line interaction)

2010-11-26 Thread Renaud AUBIN
{\leftaligned{\structuretitle}}% \blackrule [ width=\textwidth, height=+.3\lineheight, depth=-.2\lineheight]} \define[2]\SubsectionCommand {\vbox\bgroup \inleftmargin{\leftaligned{\em\structureuservariable{date}}}% {\bfa\structuretitle}\wordright{\tfx

Re: [NTG-context] BUG? Strange behavior (vertical space added!!!) with accentuated letters (was \inmargin / full textwidth line interaction)

2010-11-26 Thread Renaud AUBIN
}\wordright{\tfx\structureuservariable{topic}} % \blank {\em\structureuservariable{info}}% \egroup} \starttext \startsection[title={A Section}] \startsubsection [title={The detailled topic (which takes more than one line)}] [date={The date},topic={Knuth’s topic},info={some text

Re: [NTG-context] problems with vertical spacing and boxes

2010-11-09 Thread Wolfgang Schuster
]\MyLine {\startmyline\hsize=7cm \sym{#2}#3\wordright[2em]{#1}% \stopmyline} \starttext \MyLine{5}{Fa.}{This line is short.} \MyLine{12}{Ma.}{\input knuth } \MyLine{8}{Pa.}{\input ward } \stoptext When you’re going to use this for a long document i suggest an alternative method

Re: [NTG-context] problems with vertical spacing and boxes

2010-11-09 Thread Thomas A. Schmitz
On Nov 9, 2010, at 4:53 PM, Wolfgang Schuster wrote: Another solution: \setupbodyfont[termes,12pt] \setupinterlinespace[line=4.5ex] \setupalign[hanging] \defineitemgroup[myline][width=1cm,symstyle=bold] \define[3]\MyLine {\startmyline\hsize=7cm \sym{#2}#3\wordright[2em]{#1

Re: [NTG-context] Formatting in TOC

2010-09-29 Thread Wolfgang Schuster
{\structurelistuservariable{date}{(\structurelistuservariable{datum})}{} } } \define[1]\ChapterListTextCommand {\doifsomethingelse{\structurelistuservariable{date}} {#1\wordright{\structurelistuservariable{date}}} {#1}} Wolfgang

Re: [NTG-context] \qedhere equivalent in ConTeXt

2010-08-07 Thread Emanuele Sacco
}, closecommand=\ifmmode\eqno\else\wordright\fi] \starttext \startproof Questa \`e una dimostrazione \startformula a=b. \stopformula \stopproof \stoptext %% systems : begin file esempio at line 19 ! Missing } inserted. inserted text } to be read again

Re: [NTG-context] \qedhere equivalent in ConTeXt

2010-08-07 Thread Thomas Schmitz
=it, indentnext=yes, indenting=yes, closesymbol=\mathematics{\square}, closecommand=\ifmmode\eqno\else\wordright\fi] \starttext \startproof Questa \`e una dimostrazione \startformula a=b. \stopformula \stopproof \stoptext %% This works with mkiv, but not with mkii

Re: [NTG-context] \qedhere equivalent in ConTeXt

2010-08-07 Thread Emanuele Sacco
.] \setupdescriptions [proof] [width=broad,  distance=0.5em,  location=serried,  headstyle=it,  indentnext=yes,  indenting=yes,  closesymbol=\mathematics{\square},  closecommand=\ifmmode\eqno\else\wordright\fi] \starttext \startproof Questa \`e una dimostrazione \startformula a=b

Re: [NTG-context] \qedhere equivalent in ConTeXt

2010-08-06 Thread Wolfgang Schuster
, distance=0.5em, location=serried, headstyle=it, indentnext=yes, indenting=yes, closesymbol=\mathematics{\square}, closecommand=\ifmmode\eqno\else\wordright\fi] Wolfgang ___ If your question

Re: [NTG-context] \hfill at the end of line

2010-05-11 Thread Jan Pohanka
, 1 stopbit.) \hfill (4 body) Try \wordright{(4 body)} Aditya -- Tato zpráva byla vytvořena převratným poštovním klientem Opery: http://www.opera.com/mail/ ___ If your question is of interest to others as well

Re: [NTG-context] \hfill at the end of line

2010-05-10 Thread Aditya Mahajan
signálu TX při vyslání dvou znaků, které odpovídají vaším iniciálám. Jak dlouho bude tento proces trvat? (Předpokládejte rychlost 57600 Bd, 8 datových bitů, 1 stopbit.) \hfill (4 body) Try \wordright{(4 body)} Aditya___

Re: [NTG-context] sometimes \rightaligned

2010-03-11 Thread Wolfgang Schuster
(Genesis 3, 21)} \stopnarrower \stoptext I want \RT a macro which does nothing if there is enough space on the right to set the whole argument and puts the argument in a new line, rightaligned otherwise. Can someone remember who has asked this before, or a fresh solution alternativly. \wordright

Re: [NTG-context] \wordright and line break

2010-02-24 Thread Hans Hagen
On 21-1-2010 14:53, Andreas Harder wrote: Hello Hans, is there a reason (I’m sure there is) that \finalhyphendemerits\zerocount in the \wordright-definition is commented out? Without this line I get wrong line breaks with hyphenated words followed by \wordright{…}. \starttext

[NTG-context] \wordright and line break

2010-01-21 Thread Andreas Harder
Hello Hans, is there a reason (I’m sure there is) that \finalhyphendemerits\zerocount in the \wordright-definition is commented out? Without this line I get wrong line breaks with hyphenated words followed by \wordright{…}. \starttext \setupframedtexts[width=.65\textwidth,offset=none

[NTG-context] \wordright{…} and hyphens

2009-12-20 Thread Andreas Harder
Hi, \wordright{something} don’t like it if the preceding line have a hyphenated word. It seems to work if one changes \allowbreak to hskip\zeropoint in the macro-definition. Here an example: \mainlanguage[de] % \unprotect % \def\dowordright[#1]% % {% don't change %\groupedcommand

Re: [NTG-context] ConTeXt-ifying Kile

2008-01-02 Thread Matija Šuklje
] # \verticalstrut # \vfilll # \VL \vl[number] # \vpos \WEEKDAY{text} \weekday{text} \whitespace \WORD{text} \Word{text} \wordright{text} \WORDS{text text} \Words{text text} \writebetweenlist[section|name]{text} \writetolist[section|name]{text}{text} \writetoreferencelist[name]{text}{text